package games.snake;

import utils.RandomNumber;
import graphics.Sprite2D;
import hardware.Display2D;

public class SnakeFood extends Sprite2D{




/**
 * @author Tavin
 * 
 * Date 1.4.2011
 * 
 * Generate new food at random position
 */

public void newRandom()
{
	xPos=RandomNumber.getRange(Display2D.getColumnCount()-1);
	yPos=RandomNumber.getRange(Display2D.getRowCount()-1);

	visible=true;

	
}




}
